<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">完善景区信息</h1>
</div>
<div class="panel panel-default">
  <div class="panel-body">
    <form name="form" class="form-horizontal" ng-show="fromData.register">
      <div class="col-md-12">
          <div class="col-md-4">
            <span style="float:right;font-size:18px">景区名称:</span>
          </div>
          <div class="col-md-4 col-md-offset-1">
            <h4 class="col-lg-12 control-label text-left">{{company.name}}</h4>
          </div>
      </div>
      <!-- <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">景区名称:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
            <input class="form-control" type="text" name="" id="" ng-model="info.view_name">
        </div>
      </div> -->
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">负责人姓名:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
            <input class="form-control" type="text" name="" id="" ng-model="info.responsible_name">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">负责人手机号:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
            <input class="form-control" type="text" name="" id="" ng-model="info.responsible_mobile">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">负责人身份证号:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
            <input class="form-control" type="text" name="" id="" ng-model="info.responsible_no">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">负责人联系地址:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
            <input class="form-control" type="text" name="" id="" ng-model="company.address">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">景区注册地址:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
            <input class="form-control" type="text" name="" id="" ng-model="info.registered_address">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">景区邮箱:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
            <input class="form-control" type="text" name="" id="" ng-model="info.view_email">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">景区住址机构代码证号:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.view_code">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">组织结构代码证照片:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <img ng-src="{{info.view_code_img}}" width="350" height="200" ng-model="info.view_code_img">
          <input type="file" nv-file-select uploader="uploader" accept="image/*"/> <br/>
          <ul class="list-group">
            <li class="list-group-item" ng-repeat="item in uploader.queue">
              文件名:<span ng-bind="item.file.name"></span>
              <button type="button" class="btn btn-default btn-xs" ng-click="item.upload()">
                <span class="glyphicon glyphicon-upload"></span> 上传
              </button>
              <div class="progress" style="margin: 5px 0px">
                <div class="progress-bar" role="progressbar" ng-style="{'width': uploader.progress + '%' }"></div>
              </div>
            </li>
          </ul>
        </div>
      </div> 
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">营业执照:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <img ng-src="{{company.license_img}}" width="350" height="200" ng-model="company.license_img">
          <input type="file" nv-file-select uploader="uploader1" accept="image/*"/> <br/>
          <ul class="list-group">
            <li class="list-group-item" ng-repeat="item in uploader1.queue">
              文件名:<span ng-bind="item.file.name"></span>
              <button type="button" class="btn btn-default btn-xs" ng-click="item.upload()">
                <span class="glyphicon glyphicon-upload"></span> 上传
              </button>
              <div class="progress" style="margin: 5px 0px">
                <div class="progress-bar" role="progressbar" ng-style="{'width': uploader1.progress + '%' }"></div>
              </div>
            </li>
          </ul>
        </div>
      </div>  
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">成立日期:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">         
          <!-- <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable" is-open="start.opened" readonly ng-click="open(start)" placeholder="成立日期"/> -->
          <h4 class="input-group col-lg-12" datetimepicker ng-model="vm.date" options="vm.options">
            <input class="form-control"/>
            <span class="input-group-addon">
              <span class="glyphicon glyphicon-calendar"></span>
            </span>
          </h4>
        </div>  
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">营业期限:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.company_end_date">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">公司电话:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.phone">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">法人姓名:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.juridical_person">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">营业范围:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.business_scope">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">副标题:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.subtitle">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">关键词:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.keyword">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">经度:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.longitude">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">纬度:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.latitude">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">景区地址:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.address">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">简介:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="textarea" ng-model="info.content">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">开放时间:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" ng-model="info.open_time">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">开放日期:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" ng-model="info.open_date">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">乘车路线:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.bus">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">服务承诺:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" name="" id="" ng-model="info.promise">
        </div>
      </div>
      
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">预定须知:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" ng-model="info.book_info">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">游玩用时:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" ng-model="info.spend_hour">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">景区星级:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" ng-model="info.star">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">logo:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <img ng-src="{{info.logo}}" width="350" height="200" ng-model="info.logo">
          <input type="file" nv-file-select uploader="uploader2" accept="image/*"/> <br/>
          <ul class="list-group">
            <li class="list-group-item" ng-repeat="item in uploader2.queue">
              文件名:<span ng-bind="item.file.name"></span>
              <button type="button" class="btn btn-default btn-xs" ng-click="item.upload()">
                <span class="glyphicon glyphicon-upload"></span> 上传
              </button>
              <div class="progress" style="margin: 5px 0px">
                <div class="progress-bar" role="progressbar" ng-style="{'width': uploader2.progress + '%' }"></div>
              </div>
            </li>
          </ul>
        </div>
      </div> 
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">顶部图片:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <img ng-src="{{info.top_img}}" width="350" height="200" ng-model="info.top_img">
          <input type="file" nv-file-select uploader="uploader3" accept="image/*"/> <br/>
          <ul class="list-group">
            <li class="list-group-item" ng-repeat="item in uploader3.queue">
              文件名:<span ng-bind="item.file.name"></span>
              <button type="button" class="btn btn-default btn-xs" ng-click="item.upload()">
                <span class="glyphicon glyphicon-upload"></span> 上传
              </button>
              <div class="progress" style="margin: 5px 0px">
                <div class="progress-bar" role="progressbar" ng-style="{'width': uploader3.progress + '%' }"></div>
              </div>
            </li>
          </ul>
        </div>
      </div> 
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">所属区县:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <select class="form-control" ng-model="info.city" ng-change="selection(company)" ng-options="district.value as district.label for district in districtArr">
              <option value="">请选择</option>
          </select>
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">优惠政策:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" ng-model="info.fav_policy">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">提前入园:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" ng-model="info.bef_hour">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">年接待量:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="text" ng-model="info.reception">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">门票:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <div class="radio">
            <label>
              <input type="radio" name="optionsRadios" id="optionsRadios1" value="0" checked ng-model="info.ticket">
              有门票
            </label>
            <label>
              <input type="radio" name="optionsRadios" id="optionsRadios1" value="1" ng-model="info.ticket">
              无门票
            </label>
          </div>
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">门票描述:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="textarea" ng-model="info.ticket_desc">
        </div>
      </div>
      <div class="col-md-12 mt20">
        <div class="col-md-4">
          <span style="float:right;font-size:18px">默认价格:</span>
        </div>
        <div class="col-md-4 col-md-offset-1">
          <input class="form-control" type="textarea" ng-model="info.price">
        </div>
      </div>
      
       <div style="text-align:center">
        <button class=" btn btn-success mt40" type="button" ng-click="commit()">申请注册</button>
       </div>
    </form>
      
      <!-- 申报结果 -->
    <form name="form1" class="form-horizontal" style="height: 150px" ng-show="!fromData.register">
      <h3 class="col-lg-12 text-center" style="line-height: 150px">
        <span ng-show="fromData.status">{{fromData.msg}}</span>
        <i class="fa fa-spin fa-spinner hide show inline" ng-show="!fromData.status"></i>
      </h3>
      <button class="col-lg-2 col-lg-offset-5 btn btn-success" ng-show="fromData.status == '3'"
       type="button" ng-click="reApply()">重 新 申 报</button>
    </form>
  </div>
</div>
